@Indie32 @Bettye6
Hi!
It may be local law. You could do a search and find out.
I travel extensively all over the world.
I often have to provide a copy of my passport when checking into or booking hotels, especially in Russia, Ukraine, Africa and parts of Asia.
Enjoy your stay in Budapest! It's wonderful!
Best,
John