'Returns a new copy of a ParseResults object.'

def copy(self):

    ret = ParseResults(self.__toklist)
    ret.__tokdict = self.__tokdict.copy()
    ret.__parent = self.__parent
    ret.__accumNames.update(self.__accumNames)
    ret.__name = self.__name
    return ret
