If github or google indexes source code using a neural net to help you find it, given a query, is that also illegal? If you think of copilot as something that helps you find code you’re looking for, is it all that different, and if so, why?
In this case, wouldn’t the users of copilot be the ones responsible for any copyrighted code they may have accessed using copilot?