added copy to clipboard function which fixed #14