a simple rundown of ICopyableBlock is this:
When the block is copied, onCopy is called. If null is returned, then it will go and get the data from write() from the block entity. Most blocks choose to return null from onCopy for simplicity.
When the block is pasted, onPaste is called. The tag you return from onPaste is then given to / set as the data for the block entity, which will then end up going through your block entity read() function.
This means you can use onPaste as sort of a “pre processor” for the block entities data. And you’re given a bunch of useful data, like which ship id’s have changed and the new center shipyard blocks of ships. Allowing you to, in most situations, construct a modified version of your BE’s data so that it will properly paste itself once read() is called