python file 实现分段复制文件
with open('/bin/cp', 'rb') as paer_reasd:
with open('/opt/cp','ab') as paer_wirte:
while True:
data = paer_reasd.read(4096)
if not data :
break
paer_wirte.write(data)