(file encryption)problem while copying file content to another file