I am trying to write a Python script that takes the contents of a text file, and copies it into a new file that the program creates itself.

This is the code I am testing at the moment:

```
from datetime import datetime

errorLogPath = datetime.strftime(datetime.now(), '%Y%m%d_%H:%M') + ".log"

with open("Report.log") as logFile:
    with open(errorLogPath, 'w') as errorLog:
        for line in logFile:
            errorLog.write(line)

```

Currently the new file is created, but it is completely blank and has the wrong filename. The filename should be `YYYYMMDD_HH:MM.log` instead I am getting a filename which does not show the minutes and the file is empty.

EDIT: Removed an unnecessary `if` statement, but the code is still not functioning :\