if i want to read abinary file and copy it to another one using fwrite and fread

that i will passing an integer and arry of string then open file in it,s mode

my Qu. is how can i do it to open any kind of file like vedio or exe file can i copy and store them
using C languge and what this idea need ?

the second Q. is should i know the size of byets that i want to copy

help me with your answer