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