title: MSBuild: copy whole folder
body: <p>Trying to copy a whole folder, but when I do this:</p>
  <pre><code>&lt;Copy SourceFiles=&quot;$(TargetDir)\*.*&quot; DestinationFolder=&quot;$(BuildOutput)\SomeDir&quot; /&gt;
  </code></pre>
  <p>the copy attempts to do this: <strong>copy c:\source\<em>.</em> c:\destination\SomeDir\<em>.</em></strong>  and fails with <code>illegal characters</code> error</p>