Yes, it certainly can.
But, with software, it is easy to use different commands and come up with another way to accomplih a similar result. It can be very difficult to prove that what a competitor did was copied from what we did.
With hardware it is much easier to prove.