I have a functionfunction name(src, dest, remove) {    copy(src, dest);    if (remove) {       delete(src);    }}What name should I give to that function? Alternatively higher order function like this:function name(remove) {    if (remove) {        return function(src, dest) {           copy(src, dest);           delete(src);        };    } else {        return copy;    }}
How to name a function that copy or rename a file/directory
functions;higher order functions