add copydir command