title: shutil.copy() [Errno 13] Permission Denied
body: <p>I've been getting an error while trying to use shutil.copy()
  What I'm doing is copying a file from one folder to the other, after checking if that file already exists in the destination folder and deleting it:</p>
  
  <pre><code>  if os.path.isfile("C:/folder1/file1.csv"):
      full_file_name = os.path.join("C:/folder1/", "file1.csv")
      if os.path.isfile("C:/folder2/file1.csv"):
          os.remove("C:/folder2/file1.csv")
      os.chmod("C:/folder2/",0777)
      if os.path.isfile(full_file_name):
          shutil.copy(full_file_name, "C:/folder2/")
  </code></pre>
  
  <p>The error I've been getting is:</p>
  
  <pre><code>Traceback (most recent call last):
    File "script1.py", line 55, in &lt;module&gt;
    File "shutil.pyc", line 119, in copy
    File "shutil.pyc", line 82, in copyfile
  IOError: [Errno 13] Permission denied: 'C:/folder1/file1.csv'
  </code></pre>
  
  <p>What could the problem be?</p>