title: Why is shutil.copytree not copying tree from source to destination?
body: <p>I have a function:</p>
  
  <pre><code>def path_clone( source_dir_prompt, destination_dir_prompt) :
      try:
          shutil.copytree(source_dir_prompt, destination_dir_prompt)
          print("Potentially copied?")
      except OSError as e:
          # If the error was caused because the source wasn't a directory
          if e.errno == errno.ENOTDIR:
              shutil.copy(source_dir_prompt, destination_dir_prompt)
          else:
              print('Directory not copied. Error: %s' % e)
  </code></pre>
  
  <p>Why is it failing and outputting :</p>
  
  <pre><code>Directory not copied. Error: [Errno 17] File exists: '[2]'
  </code></pre>
  
  <p>My <code>source</code> directory exists with files/directory. My <code>destination</code> <em>folder</em> exists but when i run this, no files are copied and it hits my <code>else</code> statement.</p>
  
  <p>I tried also to set permissions on both folders to <code>chmod 777</code> to avoid unix-permission errors, but this didnt solve the issue either.</p>
  
  <p>Any help is greatly appreciated. Thank you.</p>