public static void copyInternalVector2(FloatBuffer buf, int fromPos, int toPos) {
        copyInternal(buf, fromPos * 2, toPos * 2, 2);
    }
Copies a Vector2f from one position in the buffer to another. The index
values are in terms of vector number (eg, vector number 0 is positions
0-1 in the FloatBuffer.)

@param buf
           the buffer to copy from/to
@param fromPos
           the index of the vector to copy
@param toPos
           the index to copy the vector to
jme3-core/src/main/java/com/jme3/util/BufferUtils.java