What about a human trained on having 30 years of experience working with copyrighted codebases?

Said human would likely not be able to create a clean-room implementation of any of the codebases they worked on.