code: public function moveTo(SimpleXMLElement $dst)
      {
          return simplexml_import_dom(dom_import_simplexml($dst), get_class($this))->appendChild($this->removeSelf());
      }
docs: Move current node to a new parent
  
  ATTENTION! using references to the old node will screw up the original document
  
  @param    SimpleXMLElement $dst Target parent
  @return    SimpleDOM                    Current node