def METHOD_NAME(self) -> None:
    assert self._data.copy_text is not None
    bui.clipboard_set_text(self._data.copy_text)
    bui.screenmessage(bui.Lstr(resource='copyConfirmText'), color=(0, 1, 0))