Implemented copy and paste