Read through FILE1, skipping the first BYTES bytes, then copying FILESIZE2 bytes from file FILE1 to new file FILE2.
Pros: Works for both text and binary files. With a carefully chosen value of FILESIZE2, can be used to simultaneously remove characters from both the start and end of a file!
Cons: Very slow.
If the numbers FILESIZE2 and BYTES have a common factor, putting that factor into the bs parameter and dividing the FILESIZE2 and BYTES parameters by the common factor may alleviate this problem.