public Object[] copyAll(){
  return Arrays.copyOf(args,args.length);
}

public Object [ ] copyAll ( ) { return Arrays . copyOf ( args , args . length ) ; }
returns all arguments in the argument list in a freshly - allocated array .
