Try closing BOINC and BOINC Manager (making sure they're not in the task list anymore), nothing should be using the files then. I run BOINC as a service, so just had to stop the service and could copy the files over fine.

If you still can't copy the files over, maybe you need something like Process Explorer from Sysinternals to find out what process is holding the DLLs open.