Copa and other nations cup games are more used to try and keep good level keepers happy at a club more so than match sharpness as not such an issue for GKs as outfield players.
If likes of Remiro signed would be far more likely to play in cups than Szczesny.
If he is staying it is because he has another year on contract he wants to see out and Flick doesnt have to adjust to it really.