no idea about applescript, but why don't you just pipe the command's output to pbcopy?
i mean, try typing "ls | pbcopy" in terminal.app and you have ls's output in your clipboard.
in cocoa, you can easily set one nstask's output as another one's input; no idea how to do that in applescript, sorry.