copy raster data into the block buffer