Copying Files in Python
To copy a file in Python, you would use the following syntax where src is the path to the file you are copying and dst is the path to which you want to copy the file.
import shutil
shutil.copy(src, dst)
If you want to copy files in a directory structure, you can use similar syntax where src is the bottom directory containing the files you are copying and dst is the path to which you want to copy the files.
import shutil
shutil.copytree(src, dst)