You see, Judy Garland's character starts out trying to replace/be just like Ann Miller's character, and it's not working out. That's not who Judy Garland is! She's earthier than that. She's spunkier!
Once her and Fred Astaire figure that out, they become dancing sensations. (And maybe, possibly get romantical.)