I've been reading on RandomAccessFile and understand that its possible to truncate the end of a file by setLength to a length shorter than the file. Im trying to copy just the "end" of the file to a new file and truncate the beginning.
So for example: I want to delete the first 1300 bytes of a file and copy the rest of the file into a new file.
Is there any way of doing this?
Cheers