Create New Array From Existing Array Typescript Enum String In C