How to delete or change an array completely

No.