python make a copy of directory code example Example: copy whole directory python import shutil shutil.copytree(source, destination)