Yes I think they are both stealing, but a lot of code that's out there on the internet people are open to people taking. Stuff like ChatGPT is trained on open software like github and stack overflow where people put code there specifically for