Clipboard.SetText(myvar)

This should place the text from myvar to the clipboard.

Check this:
http://msdn.microsoft.com/en-us/library/tbfb3z56.aspx


..