how to make a copy of array in typescript code example Example: copy array typescript let myClonedArray: Array<Type> = [...myArray];