The second cable likely goes to a "wall wart" plug in transformer so the dock can supply charging power if the computer is off or if there is no computer. Or, possibly the charger uses more power then a USB cable can supply. I forgot the maximum current the USB standard allows but it's not a lot.