Copy output to clipboard

I have successfully been able to make an AI agent that will generate a custom email for me. Everything is working great. My only issue is I'd like to copy everything that AI agent created ... In this case my email.. I want to copy it all to the clipboard.. How do I do this? Thanks for everybody's insights