Shuffle replace arrays