100101102103104105106107108109110
return this; } public WorkResult copy(Closure closure) { CopyActionImpl action = new FileCopyActionImpl(resolver, new FileCopySpecVisitor()); action.from(this); ConfigureUtil.configure(closure, action); action.execute(); return action; }