public void CopyTo(ImageData destination, int xOffset, int yOffset) { for (int x = 0; x < width; x++) { for (int y = 0; y < height; y++) { destination.mData[(y + yOffset) * destination.width + (x + xOffset)] = this.mData[y * width + x]; } } }