Added copyBitmap()