For real, most developers repeatedly copy/paste things they find on the internet without understanding how they work. So the AI isn’t doing anything special that humans don’t already do.
Source: Bitter old SRE who has had to fix many broken software patterns ripped out of StackOverflow and the like.