Index: /branches/eam_branches/ipp-20101205/psModules/src/objects/pmFootprint.c
===================================================================
--- /branches/eam_branches/ipp-20101205/psModules/src/objects/pmFootprint.c	(revision 30087)
+++ /branches/eam_branches/ipp-20101205/psModules/src/objects/pmFootprint.c	(revision 30088)
@@ -255,3 +255,14 @@
 }
 
+// create a new footprint with the same span set as the input footprint
+pmFootprint *pmFootprintCopyData(pmFootprint *inFoot, psImage *image) {
+
+    pmFootprint *outFoot = pmFootprintAlloc(inFoot->nspans, image);
+    for (int i = 0; i < inFoot->nspans; i++) {
+	pmSpan *span = inFoot->spans->data[i];
+	pmFootprintAddSpan(outFoot, span->y, span->x0, span->x1);
+    }
+    return outFoot;
+}
+
 /************************************************************************************************************/
