Typescript Copy Array To Another Array Meaning