public CopySpecImpl into(Object destPath, Closure configureClosure) { if (configureClosure == null) { into(destPath); return this; } else { CopySpecImpl child = addChild(); child.into(destPath); ConfigureUtil.configure(configureClosure, child); return child; } }