float[] a1 = {0.5f, 1.25f, -7f, 0f, 3.75f, 101f, 0.25f, 33.75f};
float[] ret = Arrays.copyOf(a1, a1.length);
assertNotSame(a1, ret);
assertTrue(Arrays.equals(a1, ret));
ret = Arrays.copyOf(a1, 2);
<BUG>assertTrue(Arrays.equals(new float[] {0.5f, 1.25f}, ret));
ret = Arrays.copyOf(a1, a1.length * 2);</BUG>
assertEquals(a1.length * 2, ret.length);
int i = 0;
for (; i < a1.length; i++) {

float[] a1 = {0.5f, 1.25f, -7f, 0f, 3.75f, 101f, 0.25f, 33.75f};
float[] ret = Arrays.copyOf(a1, a1.length);
assertNotSame(a1, ret);
assertTrue(Arrays.equals(a1, ret));
ret = Arrays.copyOf(a1, 2);
assertTrue(Arrays.equals(new float[] {0.5f, 1.25f}, ret));
ret = Arrays.copyOf(a1, 0);
assertEquals(0, ret.length);
ret = Arrays.copyOf(a1, a1.length * 2);
assertEquals(a1.length * 2, ret.length);
int i = 0;
for (; i < a1.length; i++) {
