Theft has a definite legal meaning. So does copyright infringement.
The court can decide if it is copyright infringement or fair use:
https://githubcopilotlitigation.com/pdf/1-0-github_complaint...