alright, according to the sandmeyer reaction it makes sense, just needed a little hint into the right direction.
The hydroxylamine is just the reducing agent, that I use to get copper(I). That helps me make radicals out of the diazonium-salt. And the radicals combine.