Some more info would be useful, the problem doesn't reproduce for me. For example:
- what's the copy target - a UNC name or a mapped drive?
- CopyFile API was mentioned; are you sure that this API is used (i.e. you checked in your own project), or did you simply copy the file in Explorer or other file manager?
- so, 1GB is the (approximate) minimum file size where you noticed the problem?
- do you have UAC enabled on the source computer?
- does the error appear immediatelly (right when the copy starts), or later during the copying? Is anything (a part of the file) transfered?
- what is the account you're logged on (administrator)? What are the access rights for the source/target folder? The machines are not in a domain I suppose?
- when the error appears for a particular file, does it appear also for every retry (unless avast! is disabled) - or if you try a few times, it eventually "gets through"?