cut, copy, and paste functional