Binary copyBlock(Binary block)
Arguments
block: The block of data
Usage
Creates a new block with identical size and contents to block. This can be used to allow editing of data from a block created with createInitialisedBlock, without altering the foreign structure itself.
cblock = createInitialisedBlock(ptr,len);
kblock = copyBlock(cblock);