Typescript Create New Array C