how to copy entire list to another list using copy function code example
Example 1: create copy of an array python
new_list = list.copy()
Example 2: copy one list to another python
thislist = ["apple", "banana", "cherry"]
mylist = thislist.copy()
print(mylist)