I don't think a wait(3) is required - at least I would not know for which reason. However, you should check the return value of file_cpy. If it's zero, there was no such file found in your resources.