code: def copy(self, key=None):
          
          other = self.__class__(
              redis=self.redis, key=key, writeback=self.writeback
          )
          other.extend(self)
  
          return other
docs: Return a new collection with the same items as this one.
          If *key* is specified, create the new collection with the given
          Redis key.