title: Copy Folders in C# using System.IO
body: <p>I need to Copy folder C:\FromFolder to C:\ToFolder</p>
  
  <p>Below is code that will CUT my FromFolder and then will create my ToFolder.
  So my FromFolder will be gone and all the items will be in the newly created folder called ToFolder</p>
  
  <pre><code>System.IO.Directory.Move(@"C:\FromFolder ", @"C:\ToFolder");
  </code></pre>
  
  <p>But i just want to Copy the files in FromFolder to ToFolder.
  For some reason there is no System.IO.Directory.Copy???</p>
  
  <p>How this is done using a batch file - Very easy</p>
  
  <p>xcopy C:\FromFolder C:\ToFolder</p>
  
  <p>Regards
  Etienne</p>