<- [[.:prplreference| PRPL reference]] <- [[.:prplreference#lists|Lists]] ===== CopyList ===== ^Arguments^Result^Notation^ | list | list | [ list - list ] | === Description === Creates a copy of a list with the same contents. Note that if the list contains other lists, they will not be copied - for that you need [[.:prplreference#DeepCopyList|DeepCopyList]]. See [[.:copy_vs_deep_copy|Copy vs Deep Copy]] for more info. === Examples === Split("1,2,3,4,5,6" ",") ->list <-list CopyList ->list2 SetListElement(<-list2 0 "banana") Trace(<-list) Trace(<-lis2)