Gov. Andrew Cuomo has signed a bill into law that will allow governments to donate their used computers to senior citizens and the poor, in addition to schools and nonprofit groups.