Optimze file copy by chunkSize