python open file and copy it code example Example: copy files python from shutil import copyfile copyfile(src, dst)