repurpose

verb

To adapt something so it can be used for a different purpose.