def copy( self ):
cpy = copy.copy( self )<EOL>cpy.parseAction = self.parseAction[:]<EOL>cpy.ignoreExprs = self.ignoreExprs[:]<EOL>if self.copyDefaultWhiteChars:<EOL><INDENT>cpy.whiteChars = ParserElement.DEFAULT_WHITE_CHARS<EOL><DEDENT>return cpy<EOL>
Make a copy of this :class:`ParserElement`.  Useful for defining
different parse actions for the same parsing pattern, using copies of
the original parse element.

Example::

    integer = Word(nums).setParseAction(lambda toks: int(toks[0]))
    integerK = integer.copy().addParseAction(lambda toks: toks[0]*1024) + Suppress("K")
    integerM = integer.copy().addParseAction(lambda toks: toks[0]*1024*1024) + Suppress("M")

    print(OneOrMore(integerK | integerM | integer).parseString("5K 100 640K 256M"))

prints::

    [5120, 100, 655360, 268435456]

Equivalent form of ``expr.copy()`` is just ``expr()``::

    integerM = integer().addParseAction(lambda toks: toks[0]*1024*1024) + Suppress("M")