System.arrayCopy
is implemented natively, and hence will be faster than any Java code. I recommend you to use it.
↧
Answer by Humphrey Bogart for What is more efficient: System.arraycopy or Arrays.copyOf?
↧