Any substance can conduct electricity only if it has free electrons.
It is true that copper and rubber, both have electrons but copper has free electrons, which are responsible for flow of current and hence, conduct electricity.
Rubber, on the other hand, does not have free electrons and cannot conduct electricity and are called insulators.