Added file copy with byte buffers