toCharArray() reference description should mention that \0 is added to the end