def copy(self, key):
        copy = List(key, self.db)
        copy.clear()
        copy.extend(self)
        return copy
Copy the list to a new list.
dataset/ETHPy150Open iamteem/redisco/redisco/containers.py/List.copy