As with other double-ended USB cables, male-to-male cables can extend the distance between devices. You can use a male-to-male USB cable as an extension cord between devices and wall chargers, for example.