If we count out a second deck and in the same way and count to exactly 52 when we lay out the cards, , we know that both decks have the same number of cards. This means that we could pair up the cards, one from each deck, and not have any cards left over when all the pairs had been made. By putting the cards in each deck in a one-to-one correspondence with each other, we are sure that both decks have the same number of cards.
These things are so obvious they seem silly. However, if we want to know the size of an unknown quantity, but the counting task is tricky, we can try to put the unknown quantity in one-to-one correspondence with some known quantity. This is the strategy that Georg Cantor used to compare different sizes of infinity.
See Infinity is for Children--And Mathematicians!