fix copy-to-clipboard in example