arrayPushPopCopy nearly working