qio: move copy_to_block_body() out of qio.c