Unless the link is incorrect and not functional, this is intended behavior.
You could create an SPFx Command via SPFx Application Customizer to add a Copy Link w/ DocID if you wanted that functionality.
There are no switches to modify the behavior of the OOTB button.