title: Copy file on remote server using WinSCP .NET Assembly
body: <p>I have been using WinSCP .NET Assembly in one of my projects to transfer files from one FTP server to another. Now, I want to copy a file from one directory to another (both present on the same FTP server). I have found the following method in WinSCP .NET assembly: </p>
  
  <pre><code>MoveFile(string sourcePath, string targetPath)
  </code></pre>
  
  <p>But it moves the file from source directory to target path (Deletes from source path) whereas I want to keep a copy on both paths.</p>
  
  <p>I have found out that there is a method called duplicate in WinSCP client that performs the copy operation but it is not available in assembly. </p>
  
  <p>Is there any way to retain the original file at source path and create a copy at destination as well?</p>
  
  <p><strong>Note:</strong></p>
  
  <p>My question is specific to WinSCP .Net assembly. I am not asking about FTP protocol. </p>