You would create a new custom page using the existing pages as templates, then copy them to that same directory. Then use the Powershell command below to repoint SharePoint to it.
Set-SPCustomLayoutsPage -Identity AccessDenied | Confirmation | Error | Login | RequestAccess | Signout | WebDeleted> -RelativePath -WebApplication [-AssignmentCollection ] [-Confirm []] [-WhatIf []]
Here is the Microsoft article: http://technet.microsoft.com/en-us/library/ff607768.aspx