Java Copy Array And String Problems In Javascript 17580r13