Java System.arraycopy()

Java System.arraycopy() is a method in the Java System class that copies a specified range of elements from one array to another. It is optimized for performance and provides a low-level, efficient way to copy arrays. Introduced in Java 1995 with Java 1.0, arraycopy() is commonly used in Java to duplicate, shift, or transfer data between arrays, particularly in sorting, copying, or modifying collections.

https://docs.oracle.com/javase/8/docs/api/java/lang/System.html