Java Set Array Equal To Another Array Methods In Typescript W3schools