adding str to char array util