Garmin interview question

Java programming question about string copy function.