code: def copy(self):
          
          cpy = self.__class__()
          cpy._autostep = self._autostep
          cpy.padding = self.padding
          cpy.update(self)
          return cpy
docs: Return a shallow copy of a RangeSet.