This also applies to your nod toward “a novel fair use argument” in a sibling comment. Fair use has absolutely nothing to do with this or any hypothetical like it. You may as well have cited bird law.
Copyright isn’t the blanket IP concept people think would cover most disputes. These types of cases get into trade dress, patent law, and other legal concepts. The fundamental limits of copyright are why software techniques are patented in the first place and one reason among many why you sign assignment when you join a company.
IANAL and my comment is U.S. biased. At least in the U.S., the fixed and tangible aspects of copyright are bite-sized enough to understand without a J.D. Given how murky this entire field is when it comes to IP, it’s extremely important to understand these concepts for even a line engineer, as well.