create copy of typescript array in angular code example Example: copy array typescript let myClonedArray: Array<Type> = [...myArray];