Copy content of one file to another

 f1=open('file','r')

f2=open('file1','w')

f2.write(f1.read())