Moved the copy to clipboard functionality into the inputUtility class.