Copy-Contents-Of

Copies the selected node’s contents. This is useful if you wish to copy an element to a new element with a different name.

XSLT Equivalent

<ns:element namespace="foo" name="bar">
   <ns:copy-of select="null/@*"/>
   <ns:copy-of select="null/node()"/>
</ns:element>