title: Permission denied error when trying to shutil.copy folders from one destination to another?
body: <p>Trying to run a simple code that transfer folders from one destination to another however i'm getting a permission error:</p>
  
  <pre class="lang-py prettyprint-override"><code>
  &gt;&gt;&gt; import shutil
  &gt;&gt;&gt; location = 'C:\\Users\\user\\files'
  &gt;&gt;&gt; dest = 'C:\\Users\\user\\transfer'
  &gt;&gt;&gt; my_array = ['folder1','folder2']
  &gt;&gt;&gt;
  &gt;&gt;&gt; for folder in my_array:
  ...     shutil.copy('{}\{}'.format(location, folder), '{}'.format(dest))
  
  </code></pre>
  
  <p>error:</p>
  
  <pre class="lang-py prettyprint-override"><code>Traceback (most recent call last):
    File "&lt;stdin&gt;", line 2, in &lt;module&gt;
    File "C:\Users\user\Envs\env\lib\shutil.py", line 245, in copy
      copyfile(src, dst, follow_symlinks=follow_symlinks)
    File "C:\Users\user\Envs\env\lib\shutil.py", line 120, in copyfile
      with open(src, 'rb') as fsrc:
  PermissionError: [Errno 13] Permission denied: 'C:\\Users\\user\\files\\folder1'
  </code></pre>