There's the CF_SetClipboard function, I think it's from SWS. You can get the contents of a file into the clipboard, ready for pasting anywhere...
Code:
local file = io.open("e:/path/filename.txt", "r")
local contents = file:read("*a")
file:close()
reaper.CF_SetClipboard(contents)