title: blogdown::serve_site, error copying static files
body: <p>I am trying to build a website using <code>blogdown</code> in RStudio.</p>
  <p>I chose &quot;New Project&quot;, &quot;New Directory&quot;, &quot;Website using blogdown&quot;, picked a name for the directory and left all other options the default. As expected, a nice directory structure with examples got created.</p>
  <p>However, when I run <code>serve_site()</code> I get two times the same error messages:</p>
  <pre><code>Error: Error copying static files: chtimes &lt;mypath&gt;\public\: Wrong Parameter.
  </code></pre>
  <p>and then</p>
  <pre><code>The system can not find the specified path.
  </code></pre>
  <p>(own translations, <code>&lt;mypath&gt;</code> is an existing path).</p>
  <p>I suspected that some entries in <code>config.toml</code> need to be adjusted and placed two files <code>logo.png</code> and <code>favicon.ico</code> into the <code>static</code> directory. This did not help.</p>
  <p>Then I thought maybe the <code>baseurl</code> entry needs a different value than <code>/</code>. However, <code>blogdown:::site_root()</code> returns the correct folder.</p>
  <p>It seems not to be an RStudio / blogdown problem, since if I enter the command</p>
  <pre><code>hugo.exe -b / -D -F -d &quot;public&quot; --themesDir themes -t hugo-lithium
  </code></pre>
  <p>at the command prompt in the project directory, the same error is returned.</p>
  <p>Any ideas are very appreciated...</p>
  <p>(I am on Windows 10, using RStudio 1.3.1073, R 4.0.2, and Hugo 0.75.1)</p>