私は3つ持っていますNSMutableArrays:a、b、c。
a= [b copy];
a= [c copy];
(bから)最初にコピーされた要素はどうなりますか?
私のユースケースでは、aはテーブルビューのデータソースとして使用する配列ですが、b、cは必要に応じてデータソースの代わりとなる配列です。ありがとう
具体的な例。結局、私はsetArrayを使用するようになりました。
-(IBAction)selectTab:(id)sender {
    if ([(UIButton*)sender tag] == 1000) {
        if (![self.butonLocuri isSelected]) {
            [tableDataSourceArray setArray:locuriArray];
            [self addPins:self.tableDataSourceArray];
            [self.myTableView reloadData];
        }
    }
    if ([(UIButton*)sender tag] == 2000) {
        if(![self.butonEvenimente isSelected]){
            [tableDataSourceArray setArray:evenimenteArray];
            [self addPins:self.tableDataSourceArray];
            [self.myTableView reloadData];
        }
    }
}