newline remove and copy to clipboard

Removes new line from string and copy current ip into clipboard