Is it impossible to attune to more than one copy of a magic weapon?

So I’m aware that attunement cannot be applied to more than one copy of a magic item, I.E. two rings of protection. Does the same rule apply to magic weapons that require attunement as well?