It's only urgent to you. Not to the people who volunteer their time to answer questions here.
Also, you're not going to have your code written for you.
You can find volume copy information through
this link[
^]. I hope you know who disks are laid out and can manipulate partition tables properly.