I've not much messed with CoPilot (actually, not at all).
But having seen a couple of the junior members at work show off their AI generated code and functions...
Yes, it "works". But many of them are disturbingly inefficient, and some, just plain wrong.
Like (paraphrased) "How do I get to the end of the driveway"
And it leads you around the back of the house and then up and over the roof.
Yes, you end up at the end of the driveway. But.....
Oh yeah, but that's a bit different, this is known (often owned) controlled data source in a dedicated environment, it's shockingly simple and pretty good, which is why i think it's an M$ marketing miss/fail.
We also use it in other more technical areas at work, but it's usually a similar situation with captured or created data and known purpose built processes , so it's less likely to introduce errors.
I get your apprehension though, a friend/former roommate of mine uses it with python code for work and prototyping. During a chat in the spring he spoke of his experiences with the tools he's using, it helps him get 90% of the way there, but then he has to spend time troubleshooting and stitching together bits & pieces (and Ai can help him there too). But it saves him all the ground work, and repetitive stuff (especially if he has some of his existing code to pull from), and while it takes days to check, that's versus the weeks it would've taken to get there without the tools.
It doesn't hurt that he has years of experience in connected wearables/devices and commercial sensors before that, so he knows where he wants to go and what it should look like when he gets there.
And I agree it's being pushed everywhere as a panacea, and mainly misunderstood by most folks, the hype has outpaced the reality by leaps and bounds, and I'm not trying to contribute to pumping that up. However, there are ways it can be very useful for folks that were already doing those tasks without Ai., and just needed a little speed boost or help with the more mundane aspects.
Anyways, I don't wanna derail thread too much from the original topic, but I understand your apprehension, I agree with you 88.8% of the time. 😉