title: Copy a specific file (.docx, .pdf, .pptx etc) form folder in C#
body: <p>I am trying to copy a file (.docx, .pdf, .pptx etc) from a source folder(on server) to a destination folder(on client). 
  The user can choose which among the list of files that he wants to download. He selects the files and then downloads it(Copies it to his computer) to the destination path 
  <code>dstnLocation= @"C:\Fldr\Docs;</code></p>
  
  <p>My Code:</p>
  
  <pre><code>string sourceLocation = textBox2.Text;
  string dstnLocation = @"C:\Fldr\Docs";
  System.IO.FileInfo file = new System.IO.FileInfo(dstnLocation);
  file.Directory.Create();
  
  System.IO.File.Copy(sourceLocation, dstnLocation,true);
  MessageBox.Show("Download Complete");
  </code></pre>
  
  <p>The problem is that it creates a file as "Docs"(where one has to use open with to open the file) and if I am not wrong then its because of the destination path. Could someone please tell what all am I doing wrong.
  The source path is retrieved through database!</p>