of course they don't sound 100% the same, hopefully SM wouldn't be paying producers who couldn't add, change, rearrange and hide things properly but you can definitely tell Fifth Harmony's song was the base inspiration for huge chunks of the song.