The dance was also inspired by Courteney Cox.