added file_copy method