public CopySpec from(Object sourcePath, Closure c) { if (c == null) { from(sourcePath); return this; } else { CopySpecImpl child = addChild(); child.from(sourcePath); ConfigureUtil.configure(c, child); return child; } }