Operating system error 5 is Access Denied. The SQL Server service does not have full rights on that folder.
p.s. sp_attach_db is deprecated and should not be used. Use CREATE DATABASE ... FOR ATTACH.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability