User defined functions for Copy Delete Move