my $newarray[0] = [$array[0], $array2[0]];