jquery copy code example
Example 1: jquery clone
$( ".hello" ).clone().appendTo( ".goodbye" );
Example 2: jquery copy to clipboard
document.execCommand("copy");
$( ".hello" ).clone().appendTo( ".goodbye" );
document.execCommand("copy");