Added copy to cpipboard function