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