I'm missing something. What is it that's the same?
Listen to the keys melody at 13 secs into the george mccrea tune. The rythmn of those three notes is 'dancing queen'.
The same riff is done vocally in the one you posted at about 5/6 seconds.
@Lili Marlene
The keys on Man out of time by elvis costello were supposed to echo Dancing Queen FYI. (They do)