Remove all manual array copying code

Additionally, use Guava's splitter to split Strings