Hi To access user details you can use: from Client Script:g_user.userNameg_user.userID or from Server Script:gs.getUserName()gs.getUserDisplayName()gs.getUserID()
I tried to copy just one attachment, so GlideSysAttachment.copy wasn't good in my case. I end up with very similar script but preview in 'Activity' was screwed up. Your solution after little modification is doing the job perfectly. Thanks