copy-paste and cut-paste implemented