'Make a copy of this C{ParserElement}.  Useful for defining different parse actions
for the same parsing pattern, using copies of the original parse element.'

def copy(self):

    cpy = copy.copy(self)
    cpy.parseAction = self.parseAction[:]
    cpy.ignoreExprs = self.ignoreExprs[:]
    if self.copyDefaultWhiteChars:
        cpy.whiteChars = ParserElement.DEFAULT_WHITE_CHARS
    return cpy
