Can you tell us what version of WAMP are you're using and what operating system version you're using?
It looks like the end of the line of that error is truncated, can you turn on wrapping in the text editor so we can see the full message?
From the part of the error we can see it looks like there's an error renaming a file which could be a permissions issue. Does the user Apache is running as have permissions to rename files in the Moodledata folder, e.g. check the ACL for the file that the rename() is failing for.