// Copy string from ESTK to Windows clipboard:  
var myString = "Here is a string";  
var cmdString = 'cmd.exe /c cmd.exe /c "echo ' + myString + ' | clip"';  
system.callSystem(cmdString);