Do a direct copy from the buffer into the raster for improved performance.