Why is that?
You can break patents without ever knowing the patent existed. So looking at this code wouldn't trigger a new patent problem.
And simply looking at some code, closing it, then later writing code that does the same functionality is not breaking copyright. So looking at this code would not trigger copyright.