many of the Cp/M reference books either come with a file copy program or a hex dump program which you develop as you work through the chapters. they both come from MITS documentation.
so the authors just kind of copied what MITS gave as examples and then embellish it a little.
The Copy program example is limited to 64KB files due to a counter limitation. some of the CP/M programming books clue the reader into this limitation then ask the reader to come up with their own solutions to the problem.
also all of these books are in 8080 op code assembler... if you need Z80 you will need to translate them.
via a google search you can find just about all these CP/M programming books online in PDF format.
I used them about 6 years ago to built up a library of Cp/M Z80 subroutines. i programmed a few hundred megabytes of code for various projects then lost interest.
i have not programmed in assembler in 4-5 years now.