cp(f1, f2, length=None)
Copy all data from one file to another.
It copies the data from the current position of the input file (f1) appending it to the current position of the output file (f2).
It copies at most length
bytes. If length
isn't given, it copies
until the end of the input file.