In Python, certain built-in objects can be copied using their constructor function.
For lists:
l1 = [] l2 = list(l1) print(id(l1)) print(id(l2))