3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
6 * \author Lars Gullik Bjønnes
8 * Full author contact details are available in file CREDITS.
15 #include "support/lyxlib.h"
24 bool lyx::support::copy(string const & from, string const & to)
26 ifstream ifs(from.c_str(), ios::binary | ios::in);
30 ofstream ofs(to.c_str(), ios::binary | ios::out | ios::trunc);