Help me in solving SYNJMCQ19 problem

My issue

why you used this line ?
s = new String(sArray);

Learning course: Learn Java
Problem Link: CodeChef: Practical coding for everyone