register copy hooks at app startup