script copy file to user desktop

Good afternoon, I would like a script to help me copy a direct access or file from a path to the desktop of the user connected to the PC.

I have already tried the ones on the page and line 27 error always appears

Hi @renato3222,

Can you please share the script link which you tried and also please share the error screenshot for reference.

Kind Regards,
PremJK