Array assignment works