Prior to going to the breakers yard all equipment, sundries and just about anything movable is taken off the vessel and sold. There are specialist firms who will buy and re-sale or auction items and larger pieces may be sold direct to well-known shipping suppliers. Items in good condition may be taken into company stores for re-allocation to other vessels.
Best wishes.