Yes, although it's quite different from the books, partly because it was a big moment for fans, and it was very hyped up before the movie release. In the movies, it's a romantic scene, whereas in the books it follows an awkward exchange between them, and Harry is a bit confused about how he feels afterward.