added copy to clipboard functionality