Convert array to short array syntax