arrayPushPopCopy works