Fix for ImageDataUtil.copyPixels()

Also, ImageDataUtil.colorTransform()