shutil.copytree copy function code example Example: python copy file from shutil import copyfile copyfile(src, dst)