Added copy functionality but some modifications to FORCE/LEAVE mode is required
Made bug check on ex, PRETTY_FUNCTION was buggy. Made some change to copy directory