title: COPY_ATTRIBUTES not working with Zip filesystem
body: <p>The Zip filesystem doesn't copy file attributes when using the Java nio <code>Files.copy</code> method with <code>StandardCopyOption.COPY_ATTRIBUTES</code>. Is it supposed to?</p>
  
  <p>The following fully working example code demonstrates the issue. It copies two files into a zip file: one normal, the other read-only. If you then list the zip file (e.g. using 7-zip) you'll see they are both normal, not read-only.</p>
  
  <pre><code>public static void main(String[] args) throws Exception {
      Path tmpdir = Files.createTempDirectory(null);
      createFiles(tmpdir);
      createZip(tmpdir);
  }
  
  private static void createFiles(Path tmpdir) throws IOException {
      Files.write(tmpdir.resolve("a.txt"), Collections.singleton("Hello, world! (a)"));
      Files.write(tmpdir.resolve("b.txt"), Collections.singleton("Hello, world! (b)"));
      Files.setAttribute(tmpdir.resolve("b.txt"), "dos:readonly", true);
  }
  
  private static void createZip(Path dir) throws IOException
  {
      Path zip = dir.resolve("data.zip");
      URI uri = URI.create("jar:" + zip.toUri());
      try (FileSystem fs = FileSystems.newFileSystem(uri, Collections.singletonMap("create", "true"))) {
          for (Path path : Files.newDirectoryStream(dir))
              if (!path.equals(zip)) {
                  String name = path.getFileName().toString();
                  Files.copy(path, fs.getPath(name), StandardCopyOption.COPY_ATTRIBUTES);
              }
      }
  }
  </code></pre>