$image->copyResized($sourceImage, $dstX, $dstY, $srcX, $srcY, $destW, $destH, $srcW, $srcH)