@Override
  public Path copyFromClasspath(String resourcePath) throws IOException {
    return copyFromClasspath(resourcePath, getTargetName(resourcePath));
  }
Basically the same as {@link DirectoryFixture#dir(String, Closure)}, but with the current root as base.
spock-core/src/main/java/spock/util/io/FileSystemFixture.java