How to copy the content of a file to another file in Python?
from shutil import copyfile copyfile('test.py', 'abc.py')