title: Copy a file from an archive to a different directory python
body: <p>is there any simple way to copy a file inside an archive to a different path? Obviously, the simple method of using shutfile doesn't work:</p>
  
  <pre><code> from shutil import copyfile
   copyfile("path/archive/file.ext", "newpath/newfile.ext")
   FileNotFoundError: [Errno 2] No such file or directory: 
  </code></pre>
  
  <p>LE: Imo, the error is misleading, because it probably shows up because I have a zip archive in the path ( if I extract the file from the archive and change the path, it works without problems, my problem is that it doesn't go through the archive)</p>