Suppose I have two classes - Deck and Pile and I created 2 obects inside the Pile class

Code:
Deck MyDeck;          // Instantiate a Deck object. 
	
Pile MyPile;          // Instantiate a Pile object.
If MyDeck contains 52 cards, What should I do if i want to add 13 cards from MyDeck to MyPile?