Implemented copy & paste funtionality