If the second part had continued to imitate all the way through the piece it would have been a canon. But “Twinkle, twinkle” does not work well as a canon. One famous canon is by Thomas Tallis. A canon that can be repeated is called a round. This is all contrapuntal music.