Question says it all really. I want to copy an observable array to another in KnockoutJS.
Assuming you have something like:
modelA { someValues: observableArray(); } modelB { iWantYourValues: observableArray(); }
You should be able to:
modelB.iWantYourValues(modelA.someValues())