Copies first entries from one array to another array. @param array source array @param index index of source array @param length number of array entries to be copied @param target target array @param trgIndex index of target array
(final Object array, final int index, final int length,
final Object target, final int trgIndex)
| 120 | * @param trgIndex index of target array |
| 121 | */ |
| 122 | public static void copy(final Object array, final int index, final int length, |
| 123 | final Object target, final int trgIndex) { |
| 124 | System.arraycopy(array, index, target, trgIndex, length); |
| 125 | } |
| 126 | |
| 127 | /** |
| 128 | * Copies first entries from one array to another array. |