This post describes how you can copy text to your clipboard with JavaScript.