Fix manual array copy

Manual copying of array contents may be replaced System.arraycopy().
Powered by InspectionGadgets
Merge pull request #43 from naoliv/pull3

Fix manual array copy