Java Array Copy memcpy(Object dest, Object src, int length)

Here you can find the source of memcpy(Object dest, Object src, int length)

Description

Convenient alias for System.arraycopy(src, 0, dest, 0, length);

License

Open Source License

Parameter

Parameter Description
dest a parameter
src a parameter
length a parameter

Declaration

public static final void memcpy(Object dest, Object src, int length) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    /**//from   www  . j a v a 2s. com
     * Convenient alias for System.arraycopy(src, 0, dest, 0, length);
     *
     * @param dest
     * @param src
     * @param length
     */
    public static final void memcpy(Object dest, Object src, int length) {
        System.arraycopy(src, 0, dest, 0, length);
    }
}

Related

  1. copyOfBytes(final byte[] bytes)
  2. copyOfRange(U[] original, int from, int to, Class newType)
  3. copyStringArray(String[] str, int startingPos)
  4. getArrayCopy(byte[] array)
  5. getArrayCopy(String[] data)