As above I can get one number from the array above and remove it from the array, but not sure how to get multiple from the array and how to insert it into a new array?
If you don’t care about maintaining the order of the elements in the source array, you can shuffle it and pop off two elements. If you are trying to simulate playing cards this is likely the better solution since the deck state can be maintained over time.