I assume you mean to shuffle the deck(s) and then deal the deck(s) as we would by hand: one at a time, in order, from the top of the deck. Another approach that works well in a program is to deal the
cards chosen randomly from the deck, something like:
This method has some additional benefits: the deck is shuffled as the cards are dealt; the deck is restored (but shuffled), ready to be used again, simply by setting the sizeOfDeck to its original number, etc.