Typescript Create Arraylist From Array