Get and Restore array