THought it would be useful for someone, so heres the code for copying a binary file.
Code:
#include <iostream>
#include <fstream>
using namespace std;
int main () {
filebuf *pbuf;
ifstream sourcestr;
ofstream desstr;
long size;
char * buffer;
sourcestr.open("C:\\E_Drive\\Projects\\I-Radio\\Jashnebahaara.mp3",ios::in | ios::binary);
desstr.open("C:\\E_Drive\\Projects\\I-Radio\\Jashnebahaara1.mp3", ios::out | ios::binary);
// get pointer to associated buffer object
pbuf=sourcestr.rdbuf();
// get file size using buffer's members
size=pbuf->pubseekoff (0,ios::end,ios::in);
pbuf->pubseekpos (0,ios::in);
// allocate memory to contain file data
buffer=new char[size];
// get file data
pbuf->sgetn (buffer,size);
sourcestr.close();
// write content to Jashnebahaara1.mp3
desstr.write(buffer,size);
desstr.close();
return 0;
}