I have seen a lot of children do elaborate dancing. Usually, when it is this complicated, it is being copied from a video they have seen over and over (or, they are improvising). The article says the little girl choreographed it and tried to teach it to Dad.
I used to make up dance routines all the time at that age. My dad never joined in though so well done to him.