So, you can either create a new TLazIntfImage, fill the raw image data and the pointer to the data, or make a double-loop to copy each pixel.
I recommend that you choose a solution, try to implement it, and then ask again more precise questions if you face problems implementing the conversion.