python script automatically copy a folder to another drive windows 10 code example Example: copy whole directory python import shutil shutil.copytree(source, destination)