VB6 FileCopy destination lock failure leaves restored data unverified
When restoring application data files in a Visual Basic 6.0 environment, the intrinsic FileCopy statement fails if the destination is open, locked, or read-only, and it does not preserve original timestamps, attributes, or access-control metadata. The FileSystemObject.CopyFile method offers different overwrite rules and error surfacing, but neither approach