Use custom functions for copying and cutting