It does exactly what you say: takes source code from the internet and put it onto your hard drive, but in a very indirect way, occasionally verbatim, in other cases it renames identifiers and does a bit of composition.
I actually reported one such case: https://github.com/cesanta/elk/issues/75
The kid had no clue LLM just copied implementation from other similar project.