Refactored ConsoleKit #copy and #paste methods.