how to copy array to array
<pre><code>var ce_info=[
{location:"inchannel",name:"Jae Jung",volume:"50",url:"img/jae.jpeg",group:1},
{location:"inchannel",name:"Houston",volume:"50",url:"img/houston.jpeg",group:1},
{location:"inchannel",name:"Jun kuriha..",volume:"50",url:"img/jun.jpeg",group:1},
{location:"inchannel",name:"Andrea Melle",volume:"50",url:"img/andrea.jpeg",group:0},
{location:"inchannel",name:"Tomoaki Ohi..",volume:"50",url:"img/ohira.jpeg",group:0},
{location:"inchannel",name:"Woosuk Cha..",volume:"50",url:"img/woosuk.jpeg",group:0},
{location:"inchannel",name:"Luca Rigaz..",volume:"50",url:"img/luca.jpeg",group:0},
{location:"inchannel",name:"SooIn Nam",volume:"50",url:"img/sooin.jpeg",group:0}
];
var inch_info=[{location:"ichat",name:"",volume:"50",url:""}];

for(i=0;i&lt;ce_info.length;i++)
{   

    if(ce_info[i].location=="inchat")
    {       

        inch_info[inchat_count].name=ce_info[i].name;
        inch_info[inchat_count].url=ce_info[i].url;
        inchat_count++;

    }
}
</code></pre>

<p>I am trying to copy ce_info to inch_info.
It seems like it does not work.It occurs an error when I try to copy ce_info to inch_info
Any thought?</p>
