Move block-wise copy functions into their own header.