Java Shift Array Elements Can Only Be Selected