Hi Junerijus and
to the forum.
I don't think the colours of the wires inside the USB lead for the internal controllers will be the same as the external leads but here is a diagram showing the plug connections on my external controller programming cable:
The length of the cable should not be a problem, but an incorrect connection may cause damage to either the USB circuit board or the controller itself.
It might be safer and easier to purchase the correct USB programming cable and just use a standard USB extension lead to extend it.
Alan