Fix build copy script