import shutil def copy_directory(source_directory, target_directory): shutil.copytree(source_directory, target_directory)