Okay, here is version 1.1:
import os, sys def copyFunc(source, destination): with open(source, 'rb') as f1, open(destination, 'wb') as f2: fullSize = os.stat(source).st_size increment = 10485760 while os.stat(destination).st_size < fullSize: chunk = f1.read(increment) f2.write(chunk) full = os.stat(destination).st_size print(round(full / fullSize * 100, 1), '%\r') one = '397.64-desktop.exe' two = 'C:\\Users\Mark\Downloads\Ordenador\driver.exe' copyFunc(one, two)I put it in a function and increased byte size to what you said, and with that, it's closer to SSD speed. I got the percentage to work better, but I'm not 100% happy. It's a WIP, for sure.