Carrying a copy of your passport is an excellent idea. Carrying your actual passport around is a great way to lose it and spend the rest of your vacation in an immigration office dealing with paperwork.
In fact, I have been at police checkpoints in two countries where they refused to see my passport and specifically requested that I present my driver's license - but these were both when I was driving, of course.