<!DOCTYPE html>
<html>
<head>
<title></title>
<script type="text/javascript" src="clipboard.min.js"></script>
</head>
<body>
<button class="btn" data-clipboard-text="Just because you can doesn't mean you should — clipboard.js">
Copy to clipboard
</button>
<script type="text/javascript">
(function(){
new ClipboardJS('.btn');
})();
</script>
</body>
</html>