Parody

Parody  not to be confused with satire  is the imitation of either
formal or thematic elements of one work in another for humorous
purposes. The most high-profile parodist in modern America is
Weird Al Yankovic, who takes others' songs and rewrites the
words. Many parodies follow their originals closely, ???.
Not all parody needs to be bitter; some parodies are merely
gentle and even affectionate ribbing.