public JsonResult Cp(Dictionary<string, string> env, string[] args) { if (args.Length > 1) { var file = new BlobFile2(User.Identity.Name, env["path"] + args[0]); if (file.Exists()) { try { return SuccessWrapper(String.Format("{0} file(s) copied.", file.Copy(env["path"] + args[1]))); } catch (FileExistsException ex) { return Error(args[1] + " Already Exists"); } } return Error(args[0] + " Not Exists"); } return Error("Usage: mv [file1] [file2]"); }