code: def copyProp(self, cur):
          
          if cur is None: cur__o = None
          else: cur__o = cur._o
          ret = libxml2mod.xmlCopyProp(self._o, cur__o)
          if ret is None:raise treeError('xmlCopyProp() failed')
          __tmp = xmlAttr(_obj=ret)
          return __tmp
docs: Do a copy of the attribute.