Objective
Create a Python program that makes copies of text and binary files. Open the files in binary mode and copy them in blocks (buffer) of 512 Kb.
Files: the file source.bin already exists (it can be text or binary). Copy it to copy.bin reading and writing in blocks (buffer) of 512 Kb, in binary mode. The program must not print anything.
Open the editor in full screen: the statement on the left and your code, the output and the tests on the right.
Start exercise