Paste and overwrite materials?

Hello!
Is it possible to copy/paste materials so that the ‘old’ materials get overwritten, instead of giving the pasted material a consecutive number in the name?

Thanks!