#include <stdio.h>
#include <Windows.h>

int main()
{
    const char* sourceFilePath = "CCopy.c";
    const char* destinationFilePath = "../CCopy.c";

    if (CopyFileA(sourceFilePath, destinationFilePath, FALSE))
    {
        printf("File copied successfully.\n");
    }
    else
    {
        printf("File copy failed. Error code: %lu\n", GetLastError());
    }

    return 0;
}