adding support for copying to clipboard on os