Copy from Transparent Mat

Hello,
I have an image that is the background.
I have the foreground that is an object with background is transparent on a BGRA mat.
How to merge the 2 images ? without to display the transparent pixels?
Thank you