code: def copyNode(self, extended):
          
          ret = libxml2mod.xmlCopyNode(self._o, extended)
          if ret is None:raise treeError('xmlCopyNode() failed')
          __tmp = xmlNode(_obj=ret)
          return __tmp
docs: Do a copy of the node.