Hi robh and welcome to the forum
Sorry to hear your news. What a blow for you.
You would not be able to pay your friend back, as this would be a preference, but you could certainly sell the car to him if you wanted to. Hold the sale proceeds to pass to the Official Receiver once your bankruptcy order has been made.
The Official Receiver will generally look through your bank statements for the previous 12 months as part of their routine investigations.
Regards, Melanie Giles, Insolvency Practitioner for over 20 years.
For further details contact me at
http://www.melaniegiles.com and view my IVA blog at:
http://melaniegiles.blogs.iva.co.uk