valloc() for block_copy()