Pretty sure that given the copilot situation (and LLMs in general I guess), microsofts stance on all things copyrighted is "if its publicly accessible then it is fair game to use, provided you claim it as original work and absolutely do not give credit to the source". Just roll a dice a few times when copying it, or something. /s