You can do so with Sparrow, or probably any recent wallets, but Sparrow is my favorite. Import the private key of your old wallet into Sparrow, scan the blockchain for utxos, and send the full utxos from the utxo tab. Sparrow will auto adjust the amount being sent as you adjust the fees, and will sweep everything, leaving no change.