even with your code commented out, my compiler barfs.
i'm not sure if this is homework or not, but are you not supposed to use fread and fwrite. Seems to me it would make your life simpler. I would look into those, if your not supposed to use them, then forgive me.

As for setting aside a buffer. your code
Code:
char *fileBuffer[][];
is a 2 demensional arry of char *. Maybe its just me, but i would simply allocate a buffer as in
Code:
 char buffer[BUFSIZ]
main also returns an int...but i'm sure someone else will berate you for that. I don't mean to be rude but i would read the chapter on files over before i have another go at this code.