This song by Leann Rimes comes from the 2000 film Coyote Ugly.
Rimes initially signed on the movie to sing the song at the ending of the movie with star Piper Perabo.
It was later decided that Rimes would provide the singing voice for all the songs sung by the actress.
That means that in the closing scene of the film, where we see Perabo’s character singing along with Rimes, hit is effectively her duetting with herself.
Here’s Can’t Fight the Moonlight