qio: Fix copyblock()