import shutilsource_file = 'data.txt'dest_file = 'data_cp.txt'shutil.copyfile(source_file, dest_file)