Copyright means you are copying.
If you produce the same item, on your own without copying, you have not violated copyright laws.
But then, litigate and prove it.
WRONG.
I could come up with the lyrics and music to a song I’d never heard but still be guilty of copyright violation.
Whoever gets there first owns it.
Go ask George Harrison’s family about the money he lost over “He’s So Fine” for one.