chirino/snappy — comment on commit fb27e0a39330ee302e67e108c98ccf69be54d7ff
File: src/main/java/org/iq80/snappy/Snappy.java line 68
By dain:

You can use Arrays.copyOf, which is cleaner and can be faster since, the JVM doesn't have to set clean the memory when allocating the array.