docs: def copyNode(node, children=False, parent=False):
      """ Copy an XML Node
  
      :param node: Etree Node
      :param children: Copy children nodes is set to True
      :param parent: Append copied node to parent if given
      :return: New Element
      """
      if parent is not False:
          element = SubElement(
              parent,
              node.tag,
              attrib=node.attrib,
              nsmap={None: "http://www.tei-c.org/ns/1.0"}
          )
      else:
          element = Element(
              node.tag,
              attrib=node.attrib,
              nsmap={None: "http://www.tei-c.org/ns/1.0"}
          )
      if children:
          if node.text:
              element._setText(node.text)
          for child in xmliter(node):
              element.append(copy(child))
      return element