Create New Instance Of Array Methods In Typescript