Taking your question out of context:
Can I copy the contents of two fields in the same destination field? "
The answer is yes, of course. In an exemplary scheme, this is done to copy several fields into a common "multi" field (multiValued), to simplify the search for one field.
But looking at more context, what you are actually trying to do is determine if Solr schema.xml with copyField can take an input pair of fields (lat and lon in your case) and combine them with an intermediate comma on a specific field. The answer is no. You will need to prepare the data this way when you pass it to Solr, or use a DIH transformer if you use DIH (DataImportHandler). I hesitate to offer an alternative, but as a hack, you can try putting lat and lon in store_0_coordinate and store_1_coordinate (or maybe vice versa). But this is actually not a recommended approach, even if it can work.
David Smiley
source share