added stub for copyfile