skip the copying when running on JDK 5