title: Copying a network file to a drive
body: <p>I am trying to copy a file from a nas to a drive, and I'm coming accross an error stating that the <em>"Target file <code>"c:\test"</code> is a directory, not a file"</em>. and I've looked at similar questions (<a href="https://stackoverflow.com/questions/4517733/copying-to-an-empty-folder">this</a> one in particular) but I still dont know where I'm going wrong! my code for the copy operation is;</p>
  
  <pre><code>File.Copy(CL, dest, false); 
  </code></pre>
  
  <p>Where <code>CL</code> is equal to the "Current Location" in the loop (the location of the file as in <code>\\\\domain\music\file</code>) and <code>dest = @"c:\test"</code>.</p>