int from_fd = open(from, O_RDONLY);
if (from_fd) {
int to_fd = open(to, O_WRONLY | O_CREAT);
int to_fd = open(to, O_WRONLY | O_CREAT, 0644);
if (to_fd) {
char buffer[s];
memset (buffer, 0, s);