How to copy a BitmapData to htmlCanvasElement?

Is there a way to copy a BitmapData to htmlCanvasElement? that would be transparent, then the displayObject will appear on it after copying it?