Non puoi. Se un file può essere letto può anche essere copiato.
Amaro C++, il gusto pieno dell'undefined behavior.
Regole del Forum