Most book algorithms are in pseudocode so you need to know how to write a loop or a function in the language you are using.
And just the act of typing it line-by-line will focus attention and help cement concepts in the brain (assuming one really wants to learn).
Hitting TAB in Copilot doesn't do any of those things.
I don't think this is generally true, especially for algorithms and smaller programs: Googling 'fibonacci python' takes 3 seconds.
Seems roughly the same amount of effort, and since Copilot is not free anymore most students won't bother paying for access on any kind of scale that matters. Whoever was going to cheat will cheat regardless.
Besides it's one of those "you won't have a calculator with you everyday" fallacies. If you can solve problems with Copilot in class you can also do it at your job later on.
Copilot is free for students: https://docs.github.com/en/billing/managing-billing-for-gith...