copy a file to another directory python code example Example: copy files python from shutil import copyfile copyfile(src, dst)