And let's just say the two made quite a splash—literally—at the end of their performance when they jumped into a pool, clothes and all. (See the clip above.)
Later in the show, Lopez was presented with the World Icon Award.
"When I see all these images and your beautiful face, I feel very fortunate to be here tonight," she told the crowd. "What I have always wanted to do with my life is to create, dance, act and entertain; and be a good person."
She added, "I love what I do. I'm an artist. And I know that being a role model to my community means to be responsible for my actions. I too am human, and I make mistakes. But I promise you that when I fall, I get up again. When I make a mistake, I learn the lesson and I am ready to confront the next challenge.
"I accept this award with a lot of humility and I am enormously grateful."