I would like to ask for help.
I'm trying to perform the partial copying of the file in Java (as binary, using FileInputStream and FileOutputStream). By partial I mean I want to copy whole file but in blocks of 55516 bytes (as preparation for the next features in the application).
Pls find the code below:
Each block of bytes starts with 00000 (5 zeros). The problem is that after the copy has been made as the FileOut, the each block of bytes in the target file starts with 0000 (4 zeros) instead of 00000 (5 zeros).
Cld you pls help me to find my mistake?