I have a first NSArray firstArray and I do
firstArray
[firstArray removeAllObjects];
after I want fill it with the content of an other a
Since the firstArray is an NSArray, you will want to do this instead:
firstArray = [NSArray arrayWithArray:secondArray];