I saw this movie in 2000s in tv. A guy x dressed as a woman accidently meets another guy b. b thinks x is a woman and falls for him.Later b discovers x’s gender.And b stays away from x . X felt guilty from the start for cheating and hiding his true identity. BUT at the end they live happily together. Name of this movie please. I think it’s an old movie. A comedy one.

Edited question