title: Cannot create a file when that file already exists
body: <p>I am using Winforms, and I am trying to copy a file from one location to another. If a file with the same name is already there, I want to overwrite it. But I get an error like "Cannot create a file when that file already exists." </p>
  
  <p>I want to overwrite the file. What should I do?
  I tried <code>File.copy</code> instead of <code>File.move</code>, but I got the same error.</p>