public void insertAt(Card card, int index) {
            
        Card [] temp = new Card[cardArray.length + 1];  // temp nieuwe array met de waardes  + 1 (die toegevoegd gaat worden)
        for(int i = 0; i < temp.length; i++){
        	if(i < index){
        		temp[i] = cardArray[i]; 
        	} else if (i == index){
        		temp[i] = card; 
        	} else{
        		temp[i] = cardArray[i-1];
        	}
        }
        cardArray = temp;
        }