Copy database-preserved fields from this object to another.
Used when updating from filesystem: preserves DB fields like id, is_active, cursor positions, etc. that shouldn't be overwritten by filesystem scan.
Copies all database-preserved fields (excluding filesystem-derived fields): id, is_active, last_viewed, last_modified, language, cursor_line, cursor_offset, scroll_position, is_project, is_ignored, is_text, is_repo, last_vector_scan.
base_type is not copied as it's determined by object type and should match.
| target |
The target object to copy fields to (typically the new filesystem item) |