What method of capitalizing is better?

mine:

```
char[] charArray = string.toCharArray();
charArray[0] = Character.toUpperCase(charArray[0]);
return new String(charArray);
```

or

commons lang - StringUtils.capitalize:

```
return new StringBuffer(strLen)
            .append(Character.toTitleCase(str.charAt(0)))
            .append(str.substring(1))
            .toString();
```

I think mine is better, but i would rather ask.