bandCopyWholeRaster function

Copy a whole raster band efficiently